package cn.stronglink.assetmanage.business.setting;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.Unbinder;
import cn.stronglink.assetmanage.R;

/**
 * @author zww
 * 2018 2018/6/18 16:44
 */
public class SystemInfoFragment extends Fragment {
    @BindView(R.id.txtSystemVails)
    TextView txtSystemVails;
    @BindView(R.id.txtSystemName)
    TextView txtSystemName;
    @BindView(R.id.txtSystemNum)
    TextView txtSystemNum;
    private Unbinder unbinder;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_setting_info, container, false);
        unbinder = ButterKnife.bind(this, view);
        return view;
    }

    @Override
    public void onActivityCreated(@Nullable Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);
        txtSystemVails.setText("资产管理系统");
        txtSystemName.setText("V1.0.1");
        txtSystemNum.setText("V5.1");
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
        unbinder.unbind();
    }
}
